<%@ page language="java"  pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>查看导航</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
  <link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/demo.css" type="text/css"></link>
  <link rel="stylesheet" href="<%=request.getContextPath() %>/resources/validform/css/style.css" type="text/css"></link>
  <link rel="stylesheet" href="<%=request.getContextPath() %>/resources/admin/css/add.css" type="text/css"></link>
  <script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/jquery-1.9.1.min.js"></script>
 </head>
  
  <body>
  <form  id="myForm" name="myForm"  action="<%=request.getContextPath() %>/menu!updateMenu.action" suc_url="<%=request.getContextPath() %>/menu!findMenu.action" class="myform"  enctype="multipart/form-data">
  	<input type="hidden" name="navid" value="${requestScope.resultMap.menuMap.navid}"/>
  	<div id="inside_content">
		<div id="dynamic">你现在所在的位置：导航管理>>查看导航</div>
		<div id="add_content">
			<div id="add_title">
				&nbsp;查看导航
				<ul>
					<li><input type="submit" value="" style="background: url(<%=request.getContextPath() %>/resources/admin/images/add.png) top left no-repeat;"/></li>
					<li><input type="reset" value="" style="background: url(<%=request.getContextPath() %>/resources/admin/images/add_reset.png) top left no-repeat;"/></li>
					<li><input  onclick="back();" type="button" value="" style="background: url(<%=request.getContextPath() %>/resources/admin/images/add_return.png) top left no-repeat;"/></li>
				</ul>
			</div>
			<table id="table_content">
	 			<tr>
		 			<td class="inp_n">菜单名称：</td>
		 			<td><input  id="navmenuname" name="navmenuname"  value=" ${requestScope.resultMap.menuMap.navmenuname}" type="text" class="inputxt" readonly="readonly"/></td>
		 			<td class="Validform_checktip" style="width: 700px;"></td>
	 			</tr>
	 		 	<tr>
		 			<td class="inp_n">链&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接：</td>
		 			<td>
	 					<input  id="navurl" name="navurl" value="${requestScope.resultMap.menuMap.navurl}" type="text"  class="inputxt"  readonly="readonly" />
		 			</td>
		 				<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">标&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;题：</td>
		 			<td>
		 				<input  id="navtitle" value="${requestScope.resultMap.menuMap.navtitle}" name="navtitle"  type="text"  class="inputxt"  readonly="readonly" />
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">关&nbsp;&nbsp;键&nbsp;&nbsp;字：</td>
		 			<td><input  id="navkeywords" name="navkeywords"  type="text" class="inputxt" value="${requestScope.resultMap.menuMap.navkeywords}"  readonly="readonly" /></td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">描&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;述：</td>
		 			<td>
		 				<input  id="navdescrip" value="${requestScope.resultMap.menuMap.navdescrip}" name="navdescrip"  type="text" class="inputxt"  readonly="readonly" />
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">上级导航：</td>
		 			<td>
		 				<select name="navpid" id="navpid"   class="inputxt" disabled="disabled">
		 					<option value="0">顶级菜单</option>
		 					<c:forEach var="info" items="${requestScope.resultMap.menuMap.fristMenu}">
		 						<option value="${info.navid}"<c:if test="${requestScope.resultMap.menuMap.navpid==info.navid}">selected="selected"</c:if>>${info.navmenuname}</option>
		 					</c:forEach>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">页面模型：</td>
		 			<td>
		 				<select name="navtype" id="navtype"   class="inputxt" disabled="disabled">
		 					<option value="0" <c:if test="${requestScope.resultMap.menuMap.navtype==0}">selected="selected"</c:if>>简介模型</option>
		 					<option value="1" <c:if test="${requestScope.resultMap.menuMap.navtype==1}">selected="selected"</c:if>>文章模型</option>
		 				</select>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">是否启用：</td>
		 			<td>
		 				是&nbsp;<input type="radio" name="navenable" value="1" <c:if test="${requestScope.resultMap.menuMap.navenable==1}">checked="checked"</c:if> disabled="disabled">&nbsp;&nbsp;
		 				否:<input type="radio" name="navenable" value="0" <c:if test="${requestScope.resultMap.menuMap.navenable==0}">checked="checked"</c:if> disabled="disabled">
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序：</td>
		 			<td>
		 				<input  id="navorderid" name="navorderid"  type="text" class="inputxt"  value="${requestScope.resultMap.menuMap.navorderid}" readonly="readonly"/>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
	 			<tr>
		 			<td class="inp_n">内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容：</td>
		 			<td>
		 				<textarea id="htmlContent" name="htmlContent" class="kindeitor">${requestScope.resultMap.menuMap.navhtmlContent}</textarea>
		 			</td>
		 			<td class="Validform_checktip"></td>
	 			</tr>
 			</table>
			<div class="clear"></div>
		</div>
	</div>
	<input  id="id"  name="id" type="hidden" value="${request.resultMap.info.id}" />
	<input  id="old_img_url"  name="old_img_url" type="hidden" value="${request.resultMap.info.img_url}" />
	<input  id="is_update_img"  name="is_update_img" type="hidden" value="0" />  
</form>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/jquery.form.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/validform/js/Validform_v5.3.2.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/kindeditor/kindeditor.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/kindeditor/lang/zh_CN.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/kindeditor/plugins/code/prettify.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/common.js"></script>
 <script type="text/javascript"  src="<%=request.getContextPath() %>/resources/js/opform.js"></script>
 </body>
</html>
